<header class="weui-navbar">
    <span class="nav-left ">
        <a href="/"><img class="fanhui" src="/images/fanhui.png" /></a>
    </span>
    <span class="nav-center">升级申请</span>
    <span class="nav-right">
        <a href="javascript:;"  style="z-index: 9999" class="open-popup" data-target="#layer-query">筛选</a>
    </span>
</header>
<div class="head-line" ></div>
<!--<div class="weui-cells__title">单选列表项</div>-->

<div class="weui-cells weui-body" id="app">
    <div class="weui-cell">
        <div class="weui-cell__bd">

         <div class="weui-cell tbl-row" v-cloak :data-id="info.id"  v-for="(info, index) in listdata">
            <div class="weui-cell__hd"></div>
            <div class="weui-cell__bd">
                <div class="row">
                    <label >申请人id:</label>[[info.userid]]
                </div>

                <div class="row">
                    <label >目前星级:</label>[[info.nowStarLevel]]
                </div>

                <div class="row">
                    <label >申请星级:</label>[[info.applyStarLevel]]
                </div>

                <div class="row">
                    <label >申请时间:</label>[[info.applyDate]]
                </div>

                <div class="row">
                    <label >审核人:</label>[[info.checkUserid]]
                </div>

                <div class="row">
                    <label >审核时间:</label>[[info.checkDate]]
                </div>

                <div class="row">
                    <label >审核状态:</label>[[info.status]]
                </div>

                <div class="row">
                    <label >审核人2:</label>[[info.checkUserid2]]
                </div>

                <div class="row">
                    <label >审核时间2:</label>[[info.checkDate2]]
                </div>

                <div class="row">
                    <label >审核状态2:</label>[[info.status2]]
                </div>

            </div>
        </div>


        </div>
    </div>
    <div class="weui-loadmore none" id="loading">
        <i class="weui-loading"></i>
        <span class="weui-loadmore__tips">正在加载</span>
    </div>
    <div class="weui-loadmore weui-loadmore_line none" id="loadingok">
        <span class="weui-loadmore__tips">暂无数据</span>
    </div>
</div>
<div class="btn-bottom">
    <a href="javascript:" onclick="popupEdit();" class="weui-btn weui-btn_primary " >新增</a>
</div>
{{ partial("layouts/footer") }}
<!--查询表单-->
<div id="layer-query" class='weui-popup__container popup-bottom'>
    <div class="weui-popup__overlay"></div>
    <div class="weui-popup__modal">
        <div class="toolbar">
            <div class="toolbar-inner">
                <a href="javascript:;" class="picker-button close-popup">关闭</a>
                <h1 class="title">查询条件</h1>
            </div>
        </div>
        <div class="modal-content">
            <div class="weui-cells">
            <form id="formQuery" action="" method="post">
	    <div class="weui-cell">
		<div class="weui-cell__hd"><label class="weui-label">申请人id</label></div>
		<div class="weui-cell__bd">
		    <input type="text" id="con-userid" name="userid" class="weui-input" placeholder="请输入申请人id" value="">
		</div>
	    </div>

	    <div class="weui-cell">
		<div class="weui-cell__hd"><label class="weui-label">目前星级</label></div>
		<div class="weui-cell__bd">
		    <input type="text" id="con-nowStarLevel" name="nowStarLevel" class="weui-input" placeholder="请输入目前星级" value="">
		</div>
	    </div>

	    <div class="weui-cell">
		<div class="weui-cell__hd"><label class="weui-label">申请星级</label></div>
		<div class="weui-cell__bd">
		    <input type="text" id="con-applyStarLevel" name="applyStarLevel" class="weui-input" placeholder="请输入申请星级" value="">
		</div>
	    </div>

	    <div class="weui-cell">
		<div class="weui-cell__hd"><label class="weui-label">申请时间</label></div>
		<div class="weui-cell__bd">
		    <input type="text" id="con-applyDate" name="applyDate" class="weui-input" placeholder="请输入申请时间" value="">
		</div>
	    </div>

	    <div class="weui-cell">
		<div class="weui-cell__hd"><label class="weui-label">审核人</label></div>
		<div class="weui-cell__bd">
		    <input type="text" id="con-checkUserid" name="checkUserid" class="weui-input" placeholder="请输入审核人" value="">
		</div>
	    </div>

	    <div class="weui-cell">
		<div class="weui-cell__hd"><label class="weui-label">审核时间</label></div>
		<div class="weui-cell__bd">
		    <input type="text" id="con-checkDate" name="checkDate" class="weui-input" placeholder="请输入审核时间" value="">
		</div>
	    </div>

	    <div class="weui-cell">
		<div class="weui-cell__hd"><label class="weui-label">审核状态</label></div>
		<div class="weui-cell__bd">
		    <input type="text" id="con-status" name="status" class="weui-input" placeholder="请输入审核状态" value="">
		</div>
	    </div>

	    <div class="weui-cell">
		<div class="weui-cell__hd"><label class="weui-label">审核人2</label></div>
		<div class="weui-cell__bd">
		    <input type="text" id="con-checkUserid2" name="checkUserid2" class="weui-input" placeholder="请输入审核人2" value="">
		</div>
	    </div>

	    <div class="weui-cell">
		<div class="weui-cell__hd"><label class="weui-label">审核时间2</label></div>
		<div class="weui-cell__bd">
		    <input type="text" id="con-checkDate2" name="checkDate2" class="weui-input" placeholder="请输入审核时间2" value="">
		</div>
	    </div>

	    <div class="weui-cell">
		<div class="weui-cell__hd"><label class="weui-label">审核状态2</label></div>
		<div class="weui-cell__bd">
		    <input type="text" id="con-status2" name="status2" class="weui-input" placeholder="请输入审核状态2" value="">
		</div>
	    </div>


                <input type="hidden" id="pageindex" name="pageindex" value="1" />
                <input type="hidden" id="pagesize" name="pagesize"  value="10" />
                <a href="javascript:;" onClick="formQuerySubmit();" class="weui-btn weui-btn_primary  close-popup">查询</a>
            </form>
            </div>
        </div>
    </div>
</div>
<!--添加表单-->
<div id="layer-edit" class='weui-popup__container '>
    <div class="weui-popup__overlay"></div>
    <div class="weui-popup__modal">
        <div class="toolbar">
            <div class="toolbar-inner">
                <a href="javascript:;" class="picker-button close-popup">关闭</a>
                <h1 class="title">编辑</h1>
            </div>
        </div>
        <div class="modal-content">
            <div class="weui-cells">
                <form id="formEdit" action="" method="post">
		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">申请人id</label></div>
			<div class="weui-cell__bd">
			    <input type="number" id="txt-userid" name="userid" class="weui-input" placeholder="请输入申请人id" value="">
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">目前星级</label></div>
			<div class="weui-cell__bd">
			    <input type="number" id="txt-nowStarLevel" name="nowStarLevel" class="weui-input" placeholder="请输入目前星级" value="">
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">申请星级</label></div>
			<div class="weui-cell__bd">
			    <input type="number" id="txt-applyStarLevel" name="applyStarLevel" class="weui-input" placeholder="请输入申请星级" value="">
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">申请时间</label></div>
			<div class="weui-cell__bd">
			    <input type="date" id="txt-applyDate" name="applyDate" class="weui-input" placeholder="请输入申请时间" value="">
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">审核人</label></div>
			<div class="weui-cell__bd">
			    <input type="number" id="txt-checkUserid" name="checkUserid" class="weui-input" placeholder="请输入审核人" value="">
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">审核时间</label></div>
			<div class="weui-cell__bd">
			    <input type="date" id="txt-checkDate" name="checkDate" class="weui-input" placeholder="请输入审核时间" value="">
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">审核状态</label></div>
			<div class="weui-cell__bd">
			    <input type="number" id="txt-status" name="status" class="weui-input" placeholder="请输入审核状态" value="">
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">审核人2</label></div>
			<div class="weui-cell__bd">
			    <input type="number" id="txt-checkUserid2" name="checkUserid2" class="weui-input" placeholder="请输入审核人2" value="">
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">审核时间2</label></div>
			<div class="weui-cell__bd">
			    <input type="date" id="txt-checkDate2" name="checkDate2" class="weui-input" placeholder="请输入审核时间2" value="">
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">审核状态2</label></div>
			<div class="weui-cell__bd">
			    <input type="number" id="txt-status2" name="status2" class="weui-input" placeholder="请输入审核状态2" value="">
			</div>
		    </div>


                    <input type="hidden" name="id" value="0" >

                    <a href="javascript:;" onClick="formEditSubmit();" class="weui-btn weui-btn_primary">提交</a>
                </form>
            </div>
        </div>
    </div>
</div>
<!--查看-->
<div id="layer-view" class='weui-popup__container '>
    <div class="weui-popup__overlay"></div>
    <div class="weui-popup__modal">
        <div class="toolbar">
            <div class="toolbar-inner">
                <a href="javascript:;" class="picker-button close-popup">关闭</a>
                <h1 class="title">编辑</h1>
            </div>
        </div>
        <div class="modal-content">
            <div class="weui-cells">

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">申请人id</label></div>
			<div class="weui-cell__bd">
			    <span id="spn-userid" name="userid" class="fld-value" ></span> 
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">目前星级</label></div>
			<div class="weui-cell__bd">
			    <span id="spn-nowStarLevel" name="nowStarLevel" class="fld-value" ></span> 
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">申请星级</label></div>
			<div class="weui-cell__bd">
			    <span id="spn-applyStarLevel" name="applyStarLevel" class="fld-value" ></span> 
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">申请时间</label></div>
			<div class="weui-cell__bd">
			    <span id="spn-applyDate" name="applyDate" class="fld-value" ></span> 
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">审核人</label></div>
			<div class="weui-cell__bd">
			    <span id="spn-checkUserid" name="checkUserid" class="fld-value" ></span> 
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">审核时间</label></div>
			<div class="weui-cell__bd">
			    <span id="spn-checkDate" name="checkDate" class="fld-value" ></span> 
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">审核状态</label></div>
			<div class="weui-cell__bd">
			    <span id="spn-status" name="status" class="fld-value" ></span> 
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">审核人2</label></div>
			<div class="weui-cell__bd">
			    <span id="spn-checkUserid2" name="checkUserid2" class="fld-value" ></span> 
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">审核时间2</label></div>
			<div class="weui-cell__bd">
			    <span id="spn-checkDate2" name="checkDate2" class="fld-value" ></span> 
			</div>
		    </div>

		    <div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">审核状态2</label></div>
			<div class="weui-cell__bd">
			    <span id="spn-status2" name="status2" class="fld-value" ></span> 
			</div>
		    </div>

            </div>
        </div>
    </div>
</div>

<script src="/viewjs/upgradeapply/index.js"></script>







